package org.mech.sefer.event;

public abstract class DataEvent<T, H extends Handler> extends Event<H>{

	private static final long serialVersionUID = 7164339440984131439L;
	
	private T data;
	
	public DataEvent(T data) {
		super();
		this.data = data;
	}
	
	public DataEvent(Object source, T data) {
		super(source);
		this.data = data;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	} 



}
